package com.example.bbs.agent.lazy.model;

/**
 * author: VC
 * create: 2021/7/16 10:01
 * version: 1.0.0
 */
public class Post {
    private int pid;
    private String title;
    private User user;
    public Post(){}
    public Post(int pid, String title, User user) {
        this.pid = pid;
        this.title = title;
        this.user = user;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
